package com.pet_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pet_service.entity.Role;
import com.pet_service.result.Result;
import com.pet_service.vo.GrantPermissionBean;

import java.util.List;

/**
* @author 邹全伸
* @description 针对表【role(角色表)】的数据库操作Service
* @createDate 2025-09-20 09:18:18
*/
public interface RoleService extends IService<Role> {
    List<Role> getRoleListByUserId(Integer userId);

    Result removeByRoleIdList(List<Integer> ids);

    Result grantPermissionToRole(GrantPermissionBean grantPermissionBean);
}
